package com.gsnd.briuppts.service;

import com.github.pagehelper.PageInfo;
import com.gsnd.briuppts.entity.Do.ManagerFenceHouseExtend;
import com.gsnd.briuppts.entity.ManagerFenceHouse;

import java.util.List;

public interface ManagerFHService {
    PageInfo<ManagerFenceHouse> findAllByConditionByPage(String fhName,
                                      Integer pageNum,
                                      Integer pageSize);

    void addAndEdit(ManagerFenceHouse managerFenceHouse);

    //根据id删除单个或批量删除
    void removeByIdOrAll(List<String> fhIds);

    ManagerFenceHouseExtend findDetailByFhId(String fhId);


    List<ManagerFenceHouse> findAll();
}

